You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLValue Class > TOpenCLValue Methods > TOpenCLValue.SgnMul Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLValue.SgnMul Method

Signum.

Syntax
C#
Visual Basic
public TOpenCLValue SgnMul([In] TOpenCLValue Src);

Calculates the signum of Src and multiplies it with the calling object value. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0. FloatPrecision and TOpenCLBase.ComplexComplexproperty of calling object are adjusted automatically.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!